package com.init.iblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.init.iblog.domain.ResponseResult;
import com.init.iblog.domain.dto.LinkDto;
import com.init.iblog.domain.entity.Link;
import com.init.iblog.domain.vo.PageVo;

import java.util.List;


/**
 * (Link)表服务接口
 *
 * @author makejava
 * @since 2023-02-19 15:24:39
 */
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult<PageVo> pageLinkList(Integer pageNum, Integer pageSize, LinkDto linkDto);

    ResponseResult getLink(Long id);

    ResponseResult addLink(Link link);

    ResponseResult updateLink(Link link);

    ResponseResult deleteLink(List<Long> ids);
}

